]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
gdm: pull async fix from upstream
authorRay Strode <rstrode@redhat.com>
Thu, 18 Nov 2010 05:05:02 +0000 (00:05 -0500)
committerRay Strode <rstrode@redhat.com>
Tue, 7 Dec 2010 19:31:35 +0000 (14:31 -0500)
This prevents a race at start up that could prevent the user
from getting loaded properly.

In the near future we need to drop the gdm user code entirely
and switch to using the accountsservice library.

src/gdmuser/gdm-user-manager.c

index b60e5a6d03603b671b00aa910f7b88de326f3056..d3df15ac710d54eabc98e6118959de2b2499a3fb 100644 (file)
@@ -1199,6 +1199,8 @@ on_list_cached_users_finished (DBusGProxy     *proxy,
                 return;
         }
 
+        maybe_set_is_loaded (manager);
+
         g_ptr_array_foreach (paths, (GFunc)add_new_user_for_object_path, manager);
 
         g_ptr_array_foreach (paths, (GFunc)g_free, NULL);